package cc.linker.steplink.crm.support.oauth;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Oauth属性信息
 */
@ConditionalOnMissingBean
@ConfigurationProperties(value = "system.scrm.oauth", ignoreUnknownFields = true)
@Getter
@Setter
public class OauthProperties {
    /**
     * 客户端key
     */
    private String clientId;
    /**
     * 客户端秘钥
     */
    private String clientSecret;
    /**
     * 鉴权地址
     */
    private String serverUrl;
}
